package src.service;

import src.entity.Goal;

import java.util.Date;
import java.util.List;

public interface GoalService {
    Goal createGoal(String account, String name, String content, int timeLimit, Date startDate);
    boolean updateGoalProgress(String account, String goalName, int delta);
    List<Goal> getGoalsByUser(String account);
    boolean isGoalCompleted(String account, String goalName);
}